@extends('layouts.master3')
@section('title')
{{"千里码-技术主管"}}
@stop


@section('css')
<style>
.table thead tr th, .table tbody tr, .table tbody tr th, .contain h1 {
    text-align: center;
}
</style>
@stop

@section('content')<div class="contain">
    <table class="table table-bordered table-hover">
        <thead style="background: #DDDDDD;">
        <tr>
            <th>邀请时间</th>
            <th>接受邀请时间</th>
            <th>来自</th>
            <th>技术主管</th>
            <th>所在公司</th>
            <th>受邀用户</th>
            <th>受邀职位</th>
            <th>薪资待遇</th>
            <th>状态</th>
            <th></th>
        </tr>
        </thead>
        <tbody>
		<?php foreach($data as $da){
			echo '<tr>
				<td>'.$da["invit_time"].'</td>
				<td>'.$da["accepted_time"].'</td>
				<td>'.$da["title"].'</td>
				<td>'.$da["techlead_realname"].' '.$da["techlead_department"].'</td>
				<td>'.$da["techlead_company"].'</td>
				<td><a href="">'.$da["user_name"].'</a></td>
				<td>'.$da["job"].'</td>
				<td>'.$da["salary"].'</td>';
			?>
            <?php if($da["hastouch"]) echo '<td><a target="_blank" href="/inbox/'.$da["u"].'/'.$da["r"].'">查看私信</a></td>';
				  else echo '<td>无私信</td>';
			?>
			<?php if($da["acc_type"]=="attachment") echo '<td><a target="_blank" href="'.$da["path"].'">附件简历</a></td>';
				  else if($da["accepted"]==1) echo '<td><a target="_blank" href="resume/preview/'.$da["u"].'">在线简历</a></td>';
				  else echo '<td>无简历</td>';
			?>
<?php echo '</tr>';?>
		<?php }?>
        </tbody>
    </table>
</div>
@endsection
